<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
	</head>
	<body>
		<div id="box">
			<p class="title">多行文本框</p>
			<textarea v-model="content" placeholder="请输入文本"></textarea>
			<p class="style" style="white-space: pre;">{{content}}</p>

		</div>
		<script>
			new Vue({
				el: '#box',
				data: {
					content: ''
				}
			})
		</script>
	</body>
</html>
